package com.ws.ssmzongjie3.service.impl;

import com.ws.ssmzongjie3.bean.Acl_Role;
import com.ws.ssmzongjie3.bean.Acl_Role_Permission;
import com.ws.ssmzongjie3.mapper.Acl_Role_PermissionMapper;
import com.ws.ssmzongjie3.service.Acl_Role_PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Acl_Role_PermissionServiceImpl implements Acl_Role_PermissionService {
    @Autowired
    private Acl_Role_PermissionMapper acl_Role_PermissionMapper;

    @Override
    public int deleteAcl_Role_PermissionById(Acl_Role_Permission acl_Role_Permission) {
        return acl_Role_PermissionMapper.deleteAcl_Role_PermissionById(acl_Role_Permission);
    }

    @Override
    public int insertAcl_Role_Permission(Acl_Role_Permission acl_Role_Permission) {
        return acl_Role_PermissionMapper.insertAcl_Role_Permission(acl_Role_Permission);
    }

    @Override
    public int updateAcl_Role_Permission(Acl_Role_Permission acl_Role_Permission) {
        return acl_Role_PermissionMapper.updateAcl_Role_Permission(acl_Role_Permission);
    }

    @Override
    public Acl_Role_Permission getAcl_Role_PermissionById(Acl_Role_Permission acl_Role_Permission) {
        return acl_Role_PermissionMapper.getAcl_Role_PermissionById(acl_Role_Permission);
    }

    @Override
    public Acl_Role_Permission listAcl_Role_Permission(Acl_Role_Permission acl_Role_Permission) {
        return acl_Role_PermissionMapper.listAcl_Role_Permission(acl_Role_Permission);
    }
}
